<template>
    <div class="app-container home">
        <el-row :gutter="20">
            <el-col :sm="24" :lg="24">
                <blockquote class="text-warning" style="font-size: 14px">
                    百度
                    <br/>
                    <el-link href="https://www.baidu.com" type="primary" target="_blank">
                        https://www.baidu.com
                    </el-link>
                    <br/>
                    网易邮箱
                    <br />
                    <el-link href="https://mail.163.com/" type="primary" target="_blank">
                        https://mail.163.com/
                    </el-link>
                    <br />
                    Mdn直达通道
                    <el-link href="https://developer.mozilla.org/zh-CN/" type="primary" target="_blank">
                        >☛☛点我进入☚☚
                    </el-link>
                    &nbsp;&nbsp;&nbsp; Element直达通道
                    <el-link href="https://element.eleme.cn/#/zh-CN" type="primary" target="_blank">
                        >☛☛点我进入☚☚
                    </el-link>
                    <br />
                    <h4 class="text-danger">
                        小白兔,白又白,两只耳朵竖起来!
                    </h4>
                </blockquote>
                <hr/>
            </el-col>
        </el-row>
        <el-row :gutter="20">
            <el-col :sm="24" :lg="12" style="padding-left: 20px">
                <h2>将进酒</h2>
                <p>
                    君不见，黄河之水天上来，奔流到海不复回。<br />
                    君不见，高堂明镜悲白发，朝如青丝暮成雪。<br />
                    人生得意须尽欢，莫使金樽空对月。<br />
                    天生我材必有用，千金散尽还复来。<br />
                    烹羊宰牛且为乐，会须一饮三百杯。<br />
                    岑夫子，丹丘生，将进酒，杯莫停。<br />
                    与君歌一曲，请君为我倾耳听。<br />
                    钟鼓馔玉不足贵，但愿长醉不愿醒。<br />
                    古来圣贤皆寂寞，惟有饮者留其名。<br />
                    陈王昔时宴平乐，斗酒十千恣欢谑。<br />
                    主人何为言少钱，径须沽取对君酌。<br />
                    五花马，千金裘，呼儿将出换美酒，与尔同销万古愁。
                </p>
                <p>
                    <b>当前版本:</b> <span>唐·李白</span>
                </p>
                <!-- <p>
                    <el-tag type="danger">&yen;免费开源</el-tag>
                </p> -->
                <p>
                    <el-button
                        type="primary"
                        size="mini"
                        icon="el-icon-cloudy"
                        plain
                        @click="goTarget('https://hanyu.baidu.com/shici/detail?from=kg1&highlight=%E5%B0%86%E8%BF%9B%E9%85%92%EF%BC%8C&pid=60841450e8714b78a6f7ef385dcb63e0&srcid=51369')">
                        诗词详解
                    </el-button>
                    <el-button
                        size="mini"
                        icon="el-icon-s-home"
                        plain
                        @click="goTarget('https://hanyu.baidu.com/')">
                        查询更多
                    </el-button>
                </p>
            </el-col>

            <el-col :sm="24" :lg="12" style="padding-left: 50px">
                <el-row>
                    <el-col :span="12">
                        <h2>技术选型</h2>
                    </el-col>
                </el-row>
                <el-row>
                    <el-col :span="6">
                        <h4>后端技术</h4>
                        <ul>
                            <li>SpringBoot</li>
                            <li>Spring Security</li>
                            <li>JWT</li>
                            <li>MyBatis</li>
                            <li>Druid</li>
                            <li>Fastjson</li>
                            <li>...</li>
                        </ul>
                    </el-col>
                    <el-col :span="6">
                        <h4>前端技术</h4>
                        <ul>
                            <li>Vue</li>
                            <li>Vuex</li>
                            <li>Element-ui</li>
                            <li>Axios</li>
                            <li>Sass</li>
                            <li>Quill</li>
                            <li>...</li>
                        </ul>
                    </el-col>
                </el-row>
            </el-col>
        </el-row>
        <el-divider/>
    
        <el-row :gutter="20">
        <el-col :xs="24" :sm="24" :md="12" :lg="8">
            <el-card class="update-log">
            <div slot="header" class="clearfix">
                <span>联系信息</span>
            </div>
            <div class="body">
                <p>
                    <i class="el-icon-s-promotion"/> 
                        官网：
                        <el-link href="http://localhost/index" target="_blank">
                            http://localhost/index
                        </el-link>
                </p>
                <p>
                    <i class="el-icon-user-solid"/> 
                        QQ群：
                        <a href="https://jq.qq.com/?_wv=1027&k=Xnbinl0U" target="_blank">
                            554333302
                        </a>
                </p>
                <p>
                    <i class="el-icon-chat-dot-round"/>
                        微信：
                        <a href="javascript:;">
                            ff9981521
                        </a>
                </p>
                <p>
                    <i class="el-icon-money"/> 
                        支付宝：
                        <a href="javascript:;" class="支付宝信息">
                            18697753680
                        </a>
                </p>
            </div>
            </el-card>
        </el-col>
        <el-col :xs="24" :sm="24" :md="12" :lg="8">
            <el-card class="update-log">
                <div slot="header" class="clearfix">
                    <span>日志</span>
                </div>
                <el-collapse accordion>
                    <el-collapse-item title="v1.0.0">
                        <ol>
                            <li>正道的光</li>
                        </ol>
                    </el-collapse-item>
                </el-collapse>
            </el-card>
        </el-col>
        <el-col :xs="24" :sm="24" :md="12" :lg="8">
            <el-card class="update-log">
                <!-- <div slot="header" class="clearfix">
                    <span>捐赠支持</span>
                </div> -->
                <div class="body">
                    <img
                        src="../assets/images/HaHaDog.png"
                        alt="donate"
                        width="50%"/>
                    <img
                        src="../assets/images/HaHaHaDog.png"
                        alt="donate"
                        width="50%"/>
                    <span style="display: inline-block; height: 30px; line-height: 30px">
                        你要是非要请作者吃饭,那作者就当仁不让了!
                    </span>
                </div>
            </el-card>
        </el-col>
        </el-row>
    </div>
</template>

<script>
export default {
  name: "Index",
  data() {
    return {
      // 版本号
      version: "1.0",
    };
  },
  methods: {
    goTarget(href) {
      window.open(href, "_blank");
    },
  },
};
</script>

<style scoped lang="scss">
.home {
  blockquote {
    padding: 10px 20px;
    margin: 0 0 20px;
    font-size: 17.5px;
    border-left: 5px solid #eee;
  }
  hr {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee;
  }
  .col-item {
    margin-bottom: 20px;
  }

  ul {
    padding: 0;
    margin: 0;
  }

  font-family: "open sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  color: #676a6c;
  overflow-x: hidden;

  ul {
    list-style-type: none;
  }

  h4 {
    margin-top: 0px;
  }

  h2 {
    margin-top: 10px;
    font-size: 26px;
    font-weight: 100;
  }

  p {
    margin-top: 10px;

    b {
      font-weight: 700;
    }
  }

  .update-log {
    ol {
      display: block;
      list-style-type: decimal;
      margin-block-start: 1em;
      margin-block-end: 1em;
      margin-inline-start: 0;
      margin-inline-end: 0;
      padding-inline-start: 40px;
    }
  }
}
</style>

